package com.site.wisdom_construction.responseEntity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Date;
import java.util.List;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-05 
 */
@ApiModel (value ="安全教育培训表实体类",description = "SafetyTraining")
public class SafetyTrainingR {
	/**
	 * 安全培训表ID
	 */
   	@ApiModelProperty(value = "安全培训表ID", name = "id")
	private Integer id;

	/**
	 * 劳务人员ID
	 */
	@ApiModelProperty(value = "劳务人员ID", name = "contractWorkersId")
	private Integer contractWorkersId;

	/**
	 * 培训主题
	 */
   	@ApiModelProperty(value = "培训主题", name = "trainingTopic")
	private String trainingTopic;

	/**
	 * 培训类型
	 */
   	@ApiModelProperty(value = "培训类型", name = "trainingType")
	private String trainingType;

	/**
	 * 培训人
	 */
   	@ApiModelProperty(value = "培训人", name = "trainingStaff")
	private String trainingStaff;

	/**
	 * 培训课时(小时)
	 */
   	@ApiModelProperty(value = "培训课时(小时)", name = "trainingTime")
	private Double trainingTime;

	/**
	 * 培训日期
	 */
   	@ApiModelProperty(value = "培训日期", name = "trainingDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date trainingDate;

	public SafetyTrainingR(){ super(); }

	public SafetyTrainingR(Integer id, Integer contractWorkersId, String trainingTopic, String trainingType, String trainingStaff, Double trainingTime, Date trainingDate) {
		this.id = id;
		this.contractWorkersId = contractWorkersId;
		this.trainingTopic = trainingTopic;
		this.trainingType = trainingType;
		this.trainingStaff = trainingStaff;
		this.trainingTime = trainingTime;
		this.trainingDate = trainingDate;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getContractWorkersId() {
		return contractWorkersId;
	}

	public void setContractWorkersId(Integer contractWorkersId) {
		this.contractWorkersId = contractWorkersId;
	}

	public String getTrainingTopic() {
		return trainingTopic;
	}

	public void setTrainingTopic(String trainingTopic) {
		this.trainingTopic = trainingTopic;
	}

	public String getTrainingType() {
		return trainingType;
	}

	public void setTrainingType(String trainingType) {
		this.trainingType = trainingType;
	}

	public String getTrainingStaff() {
		return trainingStaff;
	}

	public void setTrainingStaff(String trainingStaff) {
		this.trainingStaff = trainingStaff;
	}

	public Double getTrainingTime() {
		return trainingTime;
	}

	public void setTrainingTime(Double trainingTime) {
		this.trainingTime = trainingTime;
	}

	public Date getTrainingDate() {
		return trainingDate;
	}

	public void setTrainingDate(Date trainingDate) {
		this.trainingDate = trainingDate;
	}
}
